import React from 'react';
import './css/style.css';
import { ELEMENT_TYPES } from '../../elements/constants/ActionTypes';
const { RSS, OUTTERSYS, NEWNOTICE } = ELEMENT_TYPES;
import OutterSysMore from './OutterSysMore';
import RssMore from './RssMore';
import NewNoticeMore from './NewNoticeMore';
export default class ElementMore extends React.Component{
	render(){
		const { ebaseid } = this.props.location.query;
		switch(ebaseid){ 
			case OUTTERSYS: 
				return <OutterSysMore ecId={`${this && this.props && this.props.ecId || ''}_OutterSysMore@r66k4q`} {...this.props}/>
			case RSS: 
				return <RssMore ecId={`${this && this.props && this.props.ecId || ''}_RssMore@ixm3i0`} {...this.props}/>
			case NEWNOTICE: 
				return <NewNoticeMore ecId={`${this && this.props && this.props.ecId || ''}_NewNoticeMore@jpkn25`} {...this.props}/>
			default: 
				return <div/>
		}
	}
}